package com.scorpio.appuser.vo;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

public class UpdateShopCartNumberVo {

    public Long uid;

    //所选规格
    @NotNull(message = "无效提交")
    private Long id;

    //数量
    @NotNull(message = "无效数量")
    @Min(value = 0, message = "无效数量")
    private Integer total;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getUid() {
        return uid;
    }

    public void setUid(Long uid) {
        this.uid = uid;
    }

    public Integer getTotal() {
        return total;
    }

    public void setTotal(Integer total) {
        this.total = total;
    }
}
